<script lang="ts">
  // 定义 props
  export let borderColor: string = "";
  export let textColor: string = ""; // 可选的文字颜色
  export let bgColor: string = ""; // 可选的文字颜色
  export let bordered: boolean = false; // 是否显示边框样式
</script>

<div
  class="inline-flex items-center px-2 py-1 rounded-md border border-solid text-xs
  {borderColor} {textColor} {bgColor}"
>
  <slot />
</div>
